﻿<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="OpinionItem.ascx.cs" Inherits="blackhouse.StareKino.Web.Modules.OpinionItem" %>

<asp:Panel runat="server" ID="pnlOpinion" ClientIDMode="Static" CssClass="blueStartBox">
    <div class="sw-border-left"></div>
    <div class="opinion-header">
        <asp:Panel runat="server" ID="pnlPersonAvatar" CssClass="opinion-avatar">
            
        </asp:Panel>
        <div class="opinion-header-right">
            <asp:Literal runat="server" ID="lblPersonName" /><br />
            <b>
                <asp:Literal runat="server" ID="lblDate" /></b><br />
            <asp:Literal runat="server" ID="lblCountry" />, 
            <asp:Literal runat="server" ID="ltlPersonCategory" />
            <div class="opinion-score">
                <asp:Literal runat="server" ID="lblScore" />
            </div>
        </div>
        <div class="cleaner"></div>
    </div>

    <div class="opinion-details-content opinion-positive">

        <h4><%=GetGlobalResourceObject("Opinions", "iLike")%>:</h4>
        <asp:Literal runat="server" ID="lblInPlus" Text="<%$ Resources: Opinions, iLikeNoCt %>" />
    </div>
    <div class="opinion-details-content opinion-negative">

        <h4><%=GetGlobalResourceObject("Opinions", "iDisLike")%>:</h4>
        <asp:Literal runat="server" ID="lblInMinus" Text="<%$ Resources: Opinions, iDisLikeNoCt %>" />
    </div>
    <asp:Panel runat="server" ID="pnlAnswer" Visible="false" CssClass="opinion-details-content opinion-answer">
        <h4><%=GetGlobalResourceObject("Opinions", "recComment")%>:</h4>
        <asp:Literal runat="server" ID="ltlAnswer" Text="" />
    </asp:Panel>

    <div class="opinion-apartment">
        <%=GetGlobalResourceObject("Opinions", "apartOpinion")%>:
        <asp:HyperLink runat="server" NavigateUrl="blabla" ID="lnkToOpinionApartment" />
    </div>
    <asp:Literal runat="server" ID="ltlTmplNonPublicIf" Visible="false">{{if !IsPublic}}</asp:Literal>
    <asp:Panel runat="server" ID="pnlNonPublic" CssClass="opinion-nonpublic">Opinia nie została jeszcze opublikowana</asp:Panel>
    <asp:Literal runat="server" ID="ltlTmplNonPublicEndIf" Visible="false">{{/if}}</asp:Literal>
</asp:Panel>
<div class="openOpinionWrapper">
<asp:HyperLink runat="server" ID="lnkToOpinion" CssClass="openOpinion"><%=GetGlobalResourceObject("Opinions", "seeOpinion")%> ></asp:HyperLink>
    <div class="cleaner"></div>
    </div>
